package com.yunyike.mapper;

import java.util.List;

import com.yunyike.model.Region;

public interface RegionMapper {
    int deleteByPrimaryKey(Double regionId);

    int insert(Region record);

    int insertSelective(Region record);

    Region selectByPrimaryKey(Double regionId);

    int updateByPrimaryKeySelective(Region record);

    int updateByPrimaryKey(Region record);
    
    List<Region> findAllProvince();

    List<Region> findCityByProvinceId(Integer provinceId);

    List<Region> findAreaByCityId(Integer cityId);
    
}